import scrapy
#将爬取到的一条数据封装成类，定义其中有哪些字段
class MyprojectItem(scrapy.Item):
    code = scrapy.Field()
    name = scrapy.Field()
    reads = scrapy.Field()
    review = scrapy.Field()
    title = scrapy.Field()
    content = scrapy.Field()
    author = scrapy.Field()
    postdate = scrapy.Field()
    reply = scrapy.Field()
    next_page_url=scrapy.Field()
    current_page_num = scrapy.Field()
